package org.datascooter.meta;

import org.datascooter.utils.policy.Constraint;

public class ColumnReplace {

	public final String columnName;
	public final Object oldValue;
	public final Object newValue;
	public final Constraint constraint;

	public ColumnReplace(String columnName, Object newValue) {
		this(columnName, null, newValue, null);
	}

	public ColumnReplace(String columnName, Object oldValue, Object newValue, Constraint constraint) {
		this.columnName = columnName;
		this.oldValue = oldValue;
		this.newValue = newValue;
		this.constraint = constraint;
	}
}
